#ifndef LUA_CPP_STD_VECTOR_INT_UI
#define LUA_CPP_STD_VECTOR_INT_UI
#include <luaCPPSTD/config.h>
#include <vector>
#include <numeric>
#include <complex>
#include <algorithm>
#include <iostream>

/*//////

// tolua_begin
namespace std{ 
	class vector
	{
		TOLUA_TEMPLATE_BIND(TT,int)

		vector();
		vector(int);
		vector(int,TT);
			
		const TT& operator[](int index) const;
        TT& operator[](int index);

		void push_back(const TT& _Val);
		void reserve(int);
		void clear();
        int size() const;	
		void resize(int);
		void resize(int,const TT&);
		bool empty() const;

		tolua_outside std::vector<TT> add @ .add( TT );
		tolua_outside std::vector<TT> sub @ .sub( TT );
		tolua_outside std::vector<TT> mul @ .mul( TT );
		tolua_outside std::vector<TT> div @ .div( TT );

	};


	int min( const vector<int>& );
	int max( const vector<int>& );
	int sum( const vector<int>& );
};
// tolua_end
//*//////



#endif
